package com.link.base.base.agreement.dao.mybatis.mapper;

import com.link.base.base.agreement.model.Agreement;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author unknwon
 * @version 1.0
 * @date: 2018/11/8 11:34
 */
public interface AgreementMapper extends BasicMapper<Agreement> {

    /**
     * 修改状态
     *
     * @param entity
     * @throws Exception
     */
    public void agrStatusUpdate(Agreement entity) throws Exception;

    /**
     * 根据合同编码查找合同审批记录
     *
     * @param entity
     * @return
     * @throws Exception
     */
    public List<Agreement> queryByContractCode(Agreement entity) throws Exception;
}
